<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../js/jquery-1.10.1.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div id="result">

		</div>
	</body>
	<script type="text/javascript">
		var a = []
		for(var i = 0; i < 5; i++) {
			a[i] = function() {
				console.log(i);
			}
		}
		//		a[3]()
		var say = (name) => {
			console.log(name)
		}
		say("song")
	var basket = {
		count:0,
		onSale:222
	}
		
		$("#result").append(`
  There are <b>${basket.count}</b> items
   in your basket, <em>${basket.onSale}</em>
  are on sale!
`)
	</script>

</html>